# Gnuplot scipt file for plotting data in file "normal_bonanza.dat"
# This file is named normal_bonanza.p

set terminal png
set output "row_adv_speedup.png"

unset log
#set logscale xy
#unset log y2

unset label

set xtic auto
set ytic auto

set autoscale
set xrange [1:16]
set yrange [1:6]

set xlabel "# of processors"
set ylabel "speedup"

plot "row_adv.dat" using 1:((1.87E+008)/$2) title 'matrix size: 512' with linespoints, \
        "row_adv.dat" using 1:((1.65E+009)/$4) title 'matrix size: 1024' with linespoints, \
	"row_adv.dat" using 1:((7.84E+009)/$6) title 'matrix size: 1536' with linespoints, \
	"row_adv.dat" using 1:((1.39E+010)/$8) title 'matrix size: 2048' with linespoints
